<!-- Page Sidebar -->
<div class="page-sidebar" id="sidebar">
    <!-- Page Sidebar Header-->
    <div class="sidebar-header-wrapper">
        <input class="searchinput" type="text">
        <i class="searchicon fa fa-search"></i>
        <div class="searchhelper">Search Reports, Charts, Emails or Notifications</div>
    </div>
    <!-- /Page Sidebar Header -->
    <!-- Sidebar Menu -->
    <ul class="nav sidebar-menu">
        <li>
            <a href="#" class="menu-dropdown">
                <i class="menu-icon fa fa-user"></i>
                <span class="menu-text">管理员</span>
                <i class="menu-expand"></i>
            </a>
            <ul class="submenu">
                <li>
                    <a href="{:url('admin/lst')}">
                        <span class="menu-text">
                            管理列表 </span>
                        <i class="menu-expand"></i>
                    </a>
                </li>

                <li>
                    <a href="{:url('admin/add')}">
                        <span class="menu-text">
                            添加用户 </span>
                        <i class="menu-expand"></i>
                    </a>
                </li>
            </ul>
        </li>

        <li>
            <a href="#" class="menu-dropdown">
                <i class="menu-icon fa fa-file-text"></i>
                <span class="menu-text">文章</span>
                <i class="menu-expand"></i>
            </a>
            <ul class="submenu">
                <li>
                    <a href="{:url('article/lst')}">
                        <span class="menu-text">
                            文章列表 </span>
                        <i class="menu-expand"></i>
                    </a>
                </li>

                <li>
                    <a href="{:url('article/add')}">
                        <span class="menu-text">
                            添加文章 </span>
                        <i class="menu-expand"></i>
                    </a>
                </li>

                {volist name="cateLst" id="catelst"}
                <li>
                    <a {if condition="$catelst['child'] == 0"}href="{:url('article/catelist',array('cateid'=>$catelst.id))}"
                        {else /}href="#" class="menu-dropdown" {/if} > 
                        <span class="menu-text">>{$catelst.catename}</span>
                        <i class="menu-expand"></i>
                    </a>
                    {if condition="$catelst['child'] != 0"}
                    <ul class="submenu">
                        {volist name="$catelst['child']" id="child"}
                        <li>
                            <a href="{:url('article/catelist',array('cateid'=>$child.id))}">
                                <span class="menu-text">
                                    >>{$child.catename} </span>
                                <i class="menu-expand"></i>
                            </a>
                        </li>
                        {/volist}
                    </ul>
                    {/if}
                </li>
                {/volist}
            </ul>
        </li>

        <li>
            <a href="#" class="menu-dropdown">
                <i class="menu-icon fa fa-folder"></i>
                <span class="menu-text">栏目管理</span>
                <i class="menu-expand"></i>
            </a>
            <ul class="submenu">
                <li>
                    <a href="{:url('cate/lst')}">
                        <span class="menu-text">
                            栏目列表 </span>
                        <i class="menu-expand"></i>
                    </a>
                </li>

                <li>
                    <a href="{:url('cate/add')}">
                        <span class="menu-text">
                            添加栏目 </span>
                        <i class="menu-expand"></i>
                    </a>
                </li>
            </ul>
        </li>

        <li>
            <a href="#" class="menu-dropdown">
                <i class="menu-icon fa fa-chain"></i>
                <span class="menu-text">友情链接</span>
                <i class="menu-expand"></i>
            </a>
            <ul class="submenu">
                <li>
                    <a href="{:url('link/lst')}">
                        <span class="menu-text">
                            链接列表 </span>
                        <i class="menu-expand"></i>
                    </a>
                </li>

                <li>
                    <a href="{:url('link/add')}">
                        <span class="menu-text">
                            添加栏目 </span>
                        <i class="menu-expand"></i>
                    </a>
                </li>
            </ul>
        </li>

        <li>
            <a href="#" class="menu-dropdown">
                <i class="menu-icon fa fa-gear"></i>
                <span class="menu-text">系统</span>
                <i class="menu-expand"></i>
            </a>
            <ul class="submenu">
                <li>
                    <a href="{:url('conf/conf')}">
                        <span class="menu-text">
                            配置项 </span>
                        <i class="menu-expand"></i>
                    </a>
                </li>

                <li>
                    <a href="{:url('conf/lst')}">
                        <span class="menu-text">
                            配置列表 </span>
                        <i class="menu-expand"></i>
                    </a>
                </li>
            </ul>
        </li>

    </ul>
    <!-- /Sidebar Menu -->
</div>
<!-- /Page Sidebar -->